package com.minshenglife.zanzan.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.minshenglife.commons.dal.EntityDao;
import com.minshenglife.commons.dal.MyBatisRepository;
import com.minshenglife.zanzan.entity.User;
import com.minshenglife.zanzan.entity.WorkConPower;

/**
 * 工作日志权限Dao
 * @author jianghaibo
 *
 */
@Repository
@MyBatisRepository
public interface WorkConPowerDao extends EntityDao<WorkConPower> {

	List<User> findEmpListByPowerType(String powerType);
	
	List<WorkConPower> findByPowerTypeAndViewType(Map<String,String> map);
}
